<?php
/**
 * 订单与订单列表模型
 */
class OrderRelationModel extends RelationModel{
 	protected $tableName='order';
 	protected $_link=array(
 		'order_list'=>array(
 			'mapping_type'=>HAS_MANY,
 			'foreign_key'=>'oid'
 			)
 		);
}
?>